home *** CD-ROM | disk | FTP | other *** search
/ Space & Astronomy / Space and Astronomy (October 1993).iso / mac / VIEWERS / MSDOS / VGA2GIF3.ZIP / VGA2GIF.DOC < prev    next >
Text File  |  1988-08-12  |  6KB  |  176 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                           Capture VGA screens to .GIF files
  12.  
  13.                            (C)1988 Laurie and Bill Fleisher
  14.  
  15.                                    4680 Carrick SE
  16.                                   Kentwood, MI 49508
  17.                                     (616)531-2776
  18.  
  19.  
  20.           This program consists of two modules.  The first on, VGACAP, is a
  21.           TSR  (memory  resident program)  which  captures the  320x200x256
  22.           (mode 13H) screen and palette to a disk file.  The second module,
  23.           SCR2GIF.EXE, converts this  file into a  .GIF file, which can  be
  24.           displayed with programs like  PICEM  or VGAGIF.   The reason  for
  25.           the split  modules is  to keep  the size  of the  memory resident
  26.           program small.   This prevents competition for memory  space with
  27.           your graphics editor of display program.   Some of these programs
  28.           tend to be memory hogs when displaying mode 13H.  The VGACAP uses
  29.           only 2k of  memory. This should  not interfere with memory  usage
  30.           very much.
  31.  
  32.           To install the capture program, simply type VGACAP. It will check
  33.           your video adapter, and  install itself if it finds  a compatible
  34.           adapter.   Otherwise  it simply aborts.   In order  to invoke it,
  35.           display the image  you want to capture.  Then press ALT and  C at
  36.           the same time.  After a few seconds of disk activity, a BEEP will
  37.           sound to indicate a successful capture.   VGACAP will check video
  38.           modes to see of 320x200x256 mode is active.  If not, it will exit
  39.           without capture.
  40.  
  41.           The file created will have a name of VGA-xxx.SCR, where xxx  is a
  42.           three digit decimal  number.  The  program checks the  directory,
  43.           and will use the lowest number not already in use.  You can write
  44.           999 files to a directory  this way (if you don't run  out of disk
  45.           space).
  46.           If  you delete any .SCR files, VGACAP  will fill the blank spaces
  47.           on the next capture before adding to the end of the list.
  48.  
  49.           Each file consists simply  of a 768 byte area  containing palette
  50.           data  (256x3), followed by 64000 bytes of screen dump.  The total
  51.           size is therfore 64768 bytes.
  52.  
  53.           It is recommended  you rename the files to  something descriptive
  54.           when  you return  to  DOS unless  you are  going to  convert them
  55.           immediately.
  56.  
  57.           The SCR2GIF file  is very simple to  use.  There are  three modes
  58.           for using it. The modes are determined by whether no, one, or two
  59.           file  names  are entered  on  the  command line  when  SCR2GIF is
  60.           invoked.
  61.  
  62.           SCR2GIF        or
  63.           SCR2GIF inputfilename       or
  64.           SCR2GIF inputfilename outputfilename
  65.  
  66.           MODE 1
  67.  
  68.           C:>SCR2GIF
  69.  
  70.           The first way of using it requires that you enter only VGA2GIF on
  71.           the command  line. It will  prompt for both  file names. It  will
  72.           fill in the  suggested input file extension of .SCR. You need not
  73.           enter the  extension if .SCR is  okay. Otherwise, as soon  as you
  74.           type the "." the SCR extension will vanish so you can  enter your
  75.           own extension. If it cannot find your input file name it will ask
  76.           you to reenter.
  77.  
  78.           The output file name will then be requested. It will present your
  79.           input file name  with the extension changed to "GIF".  If this is
  80.           okay, just  hit  the ENTER  key.  Otherwise, start  entering  the
  81.           filename you want. The  extension will behave as in  entering the
  82.           input file  name described  above.   If the  output file  already
  83.           exists, it  will ask  permission to  overwrite it.   The  default
  84.           (ENTER) is "No, don't overwrite" It will then ask for a new
  85.           file name.
  86.  
  87.  
  88.           MODE 2
  89.  
  90.           C:>SCR2GIF filename.SCR 
  91.                or
  92.           C:>SCR2GIF *.SCR
  93.  
  94.           This mode will  accept wildcards. The  output file names will  be
  95.           the same  as the input  file names  except that the  extension is
  96.           changed to .GIF.
  97.           It will accept  the same wildcards as  DOS (? or *). You  will be
  98.           asked ONCE whether it should overwrite a .GIF if the name happens
  99.           to  be  the same  as  the output  file.  This will  apply  to all
  100.           conversions if a wildcard  is used.  For  instance, if the  input
  101.           file is  VGA-000.SCR and it  finds a  file named VGA-000.GIF   it
  102.           will overwrite it  if you answer  Y. If, however, VGA-000.GIF  is
  103.           protected (Read  only attribute set) it will refuse to over-write
  104.           it and "Permission denied" will be displayed.
  105.  
  106.  
  107.           MODE 3
  108.  
  109.           C:>SCR2GIF inputname.SCR outputname.GIF
  110.  
  111.           The  third  mode is  intended for  running  from batch  files and
  112.           accepts
  113.           both input and output file names on the command line as:
  114.  
  115.           SCR2GIF myinput.pic myoutput.mac
  116.  
  117.           An error message  is generated if it  cannot open the input  file
  118.           (if it  can't find  it for  instance) or  if it  cannot open  the
  119.           output file (if the output file already exists).
  120.           In  any case,  the program will  request whatever  information it
  121.           requires.   If the output file exists  already, you will be asked
  122.           if you want  to overwrite it.   We may provide a  similar package
  123.           for  other screen modes  if people are  interested and  if no one
  124.           else  provides one  first.  If  you like  the program or  find it
  125.           useful,  you don't have to send money, although it might be nice.
  126.           But at least write  and let us know  you like it, don't  like it,
  127.           and let us know we did something useful.
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.